//
//  RecommendTableViewCell.m
//  StandardizedProduct
//
//  Created by 宁宁 on 16/6/21.
//  Copyright © 2016年 ym. All rights reserved.
//

#import "RecommendTableViewCell.h"

//#import "TodayCommandView.h"//今日推荐View
//#import "HotBrandView.h"//热门潮品View
//#import "TodayLowView.h"//今日白菜View
//#import "HotBrandsView.h"//热门潮牌View

@implementation RecommendTableViewCell
//{
//    TodayCommandView *_commandView;
//    HotBrandView *_hotBrandView;
//    TodayLowView *_todayLowView;
//    HotBrandsView *_hotBrandsView;
//}
//
//- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
//    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
//    if (self) {
//        
//        [self setView];
//        
//        _moreArray = @[_hotBrandView.more, _todayLowView.more, _hotBrandsView.more];
//    }
//    return self;
//}
//
//- (void)setView{
//    CGFloat width = self.contentView.frame.size.width;
//    
//    //今日推荐
//    _commandView = [[[NSBundle mainBundle] loadNibNamed:@"TodayCommandView" owner:nil options:nil] lastObject];
//    _commandView.image0.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _commandView.image10.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _commandView.image11.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    CGFloat commandViewHeight = WIDTH * 256 / (375 * 2) + 16;
//    _commandView.frame = CGRectMake(0, 0, width, commandViewHeight);
//    [self.contentView addSubview:_commandView];
//    
//    //热门潮品
//    _hotBrandView = [[[NSBundle mainBundle] loadNibNamed:@"HotBrandView" owner:nil options:nil] lastObject];
//    _hotBrandView.image0.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _hotBrandView.image10.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _hotBrandView.image11.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _hotBrandView.image2.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    CGFloat hotBrandViewHeight = 46 + WIDTH * 298 / (274 * 3) + 16;
//    _hotBrandView.frame = CGRectMake(0, commandViewHeight, width, hotBrandViewHeight);
//    [self.contentView addSubview:_hotBrandView];
//    
//    //今日白菜
//    _todayLowView = [[[NSBundle mainBundle] loadNibNamed:@"TodayLowView" owner:nil options:nil] lastObject];
//    _todayLowView.image0.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _todayLowView.image10.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _todayLowView.image11.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    _todayLowView.image12.backgroundColor = [UIColor colorWithRed:VALUE green:VALUE blue:VALUE alpha:1];
//    CGFloat todayLowViewHeight = 49 + WIDTH * 256 / 750 + WIDTH * 191 / (251 * 3);
//    _todayLowView.frame = CGRectMake(0, commandViewHeight + hotBrandViewHeight, width, todayLowViewHeight);
//    [self.contentView addSubview:_todayLowView];
//    
//    //热门潮牌
//    _hotBrandsView = [[[NSBundle mainBundle] loadNibNamed:@"HotBrandsView" owner:nil options:nil] lastObject];
//    CGFloat hotBrandsViewHeight = _hotBrandsView.view.frame.size.height;
//    _hotBrandsView.frame = CGRectMake(0, commandViewHeight + hotBrandViewHeight + todayLowViewHeight, width, hotBrandsViewHeight);
//    [self.contentView addSubview:_hotBrandsView];
//    
//    
//    _cellHeight = commandViewHeight + hotBrandViewHeight + todayLowViewHeight + hotBrandsViewHeight;
//}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
